package xiaodou.com.testinterface;

import android.app.Application;
import android.content.Context;
import android.icu.text.RelativeDateTimeFormatter;

/**
 * Created by Administrator on 2018-03-05.
 * Description:设置全局变量
 */

public class BaseApplication extends Application{
    private static BaseApplication application;

    @Override
    public void onCreate() {
        super.onCreate();
        application = this;
    }

    public static Context getApplication() {
        return application;
    }
}
